package dummy.virussim
import mars.ns.core.Node


class Person extends Node with InfectedState {
	override def toString : String = {
	    if(this.isInfected){
	        return this.id + " Infected"
	    }
	    else if(this.isImmune){
	        return this.id + " Immune"
	    }
	    else{
	        return this.id + " Healthy"
	    }
	}
}